package com.renwen.sms.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;


/**
 * 管理员实体类
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
@TableName("admin")
public class Admin implements Serializable {

    private static final long serialVersionUID = 2508043687456536533L;
    @TableId(type = IdType.AUTO)
    //管理号
    private Integer adNo;
    //用户名
    private String adUsername;
    //密码
    private String adPwd;
    //姓名
    private String realName;
    //昵称
    private String nickName;
}
